package cn.edu.scau.dormitory_management_system.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author djc
 * @date 2021/8/4
 * @time 20:12
 */
@Component
@Data
@AllArgsConstructor
@ToString
public class LogDTO {
    private String userName;
    private String ip;
    private String city;
    private boolean can;

    public LogDTO() {
        can = true;
    }
}
